package com.lancoo.ccas52.mapper;

import com.lancoo.ccas52.config.MybatisRedisCache;
import com.lancoo.ccas52.entity.CssTaskInfo;
import com.lancoo.ccas52.entity.TaskInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;
import java.util.List;

/**
 * <p>
 * 排课计划 Mapper 接口
 * </p>
 *
 * @author quin.song
 * @since 2022-12-20
 */
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface TaskInfoMapper extends BaseMapper<TaskInfo> {

    /**
     * 获取选课计划
     *
     * @param schoolId
     * @param type
     * @param keyWord
     * @return
     */
    List<CssTaskInfo> getCssTaskBySchoolId(@Param("schoolId") String schoolId, @Param("type") Integer type, @Param("keyWord") String keyWord);

}
